package com.binguo.api.form;

import com.binguo.common.enums.PayType;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author yuritian
 * @Title: ShangMiForm
 * @ProjectName binguoDevelop
 * @Description: TODO
 * @date 2019-08-0713:04
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class ShangMiForm {
    @ApiParam(value = "卡号")
    private String cardNo;

    @ApiParam(value = "扣款金额 单位:分")
    private Long accountBalance;

    @ApiParam(value = "扫码支付:授权码")
    private String authCode;

    @ApiParam(value = "支付类型 0：二维码支付，1：人脸支付，2：实体卡支付，3：其他支付,  4:商户扫码支付", required = true)
    @NotNull
    private PayType payType;

    @ApiParam(value = "商户ID")
    private Integer shopID;

    @ApiParam(value = "机器ID")
    private Integer cashierDeskID;

    @ApiParam(value = "用户ID")
    private Integer customerID;

    @ApiParam(value = "用户电话")
    private String customerPhone;

    @ApiParam(value = "用户姓名")
    private String customerName;

    @ApiParam(value = "订单类型")
    private Integer orderType;

}
